package com.bnzj.cloud.business.core.persistence.entity;

import com.bnzj.core.persistence.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author Barry
 * @createDate 2020/3/27
 * @description
 */
@Getter
@Setter
@ToString(callSuper = true)
@Entity
@Table(name = "bnz_sys_resource_meta")
@Schema(description = "系统后台资源")
public class SysResourceMeta extends BaseEntity {

    private static final long serialVersionUID = 5477194329929042839L;
    @Schema(description = "名称")
    private String name;
    @Schema(description = "路径")
    private String uri;
    @Schema(description = "请求类型")
    private String requestType;
    @Schema(description = "描述")
    private String descr;
    @Schema(description = "所属模块")
    private String module;
    @Schema(description = "是否启用")
    private Boolean enabled=true;
}
